-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Bug fix for scaled_float in encodePoint method
#18952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug fix for scaled_float in encodePoint method
#18952
Conversation
Signed-off-by: Prudhvi Godithi <[email protected]>
scaled_float in encodePoint methodscaled_float in encodePoint method
Signed-off-by: Prudhvi Godithi <[email protected]>
Signed-off-by: Prudhvi Godithi <[email protected]>
|
Adding @harshavamsi, @kkewwei, @msfroh to please take a look. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #18952 +/- ##
============================================
+ Coverage 72.89% 73.03% +0.14%
- Complexity 69318 69384 +66
============================================
Files 5642 5642
Lines 318636 318637 +1
Branches 46107 46107
============================================
+ Hits 232254 232708 +454
+ Misses 67540 67133 -407
+ Partials 18842 18796 -46 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
modules/mapper-extras/src/main/java/org/opensearch/index/mapper/ScaledFloatFieldMapper.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Prudhvi Godithi <[email protected]>
|
❕ Gradle check result for 8350432: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
* Fix scaled float bug Signed-off-by: Prudhvi Godithi <[email protected]> * Update changelog Signed-off-by: Prudhvi Godithi <[email protected]> * Update changelog Signed-off-by: Prudhvi Godithi <[email protected]> * Add clamps Signed-off-by: Prudhvi Godithi <[email protected]> --------- Signed-off-by: Prudhvi Godithi <[email protected]> (cherry picked from commit 35a91c1) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix scaled float bug * Update changelog * Update changelog * Add clamps --------- (cherry picked from commit 35a91c1) Signed-off-by: Prudhvi Godithi <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…t#18952) * Fix scaled float bug Signed-off-by: Prudhvi Godithi <[email protected]> * Update changelog Signed-off-by: Prudhvi Godithi <[email protected]> * Update changelog Signed-off-by: Prudhvi Godithi <[email protected]> * Add clamps Signed-off-by: Prudhvi Godithi <[email protected]> --------- Signed-off-by: Prudhvi Godithi <[email protected]>
…t#18952) * Fix scaled float bug Signed-off-by: Prudhvi Godithi <[email protected]> * Update changelog Signed-off-by: Prudhvi Godithi <[email protected]> * Update changelog Signed-off-by: Prudhvi Godithi <[email protected]> * Add clamps Signed-off-by: Prudhvi Godithi <[email protected]> --------- Signed-off-by: Prudhvi Godithi <[email protected]>
…t#18952) * Fix scaled float bug Signed-off-by: Prudhvi Godithi <[email protected]> * Update changelog Signed-off-by: Prudhvi Godithi <[email protected]> * Update changelog Signed-off-by: Prudhvi Godithi <[email protected]> * Add clamps Signed-off-by: Prudhvi Godithi <[email protected]> --------- Signed-off-by: Prudhvi Godithi <[email protected]>
Description
This bug was introduced part of this PR #18896, following the same pattern for
encodePoint(Object value, boolean roundUp)similar totermQueryinScaledFloatFieldMapper.Related Issues
Resolves #18546
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.